package com.game.modular.game.playerMatch.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.game.modular.game.battle.info.roundInfo.dto.messageDto.PvpMessageDto;
import lombok.extern.slf4j.Slf4j;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.game.modular.game.playerMatch.mapper.PvpMessageMapper;
import com.game.modular.game.playerMatch.domain.PvpMessage;
import org.springframework.data.redis.core.HashOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * PvP玩家战斗信息(PvpMessageDto)表服务实现类
 *
 * @author cxy
 * @since 2024-08-12 16:34:59
 */
@Validated
@Slf4j
@Service
public class PvpMessageServiceImpl extends ServiceImpl<PvpMessageMapper, PvpMessage> implements IService<PvpMessage> {
    @Resource
    private RedisTemplate<Object, Object> redisTemplate;
    @Resource
    private HashOperations<String, String, PvpMessageDto> hashOperations;
    @Resource
    private PvpMessageMapper pvpMessageMapper;


}
